<template>
  <div class="box">
    <img src="@/assets/image/404.jpg" alt="" />

    <div class="return" @click="returnHome"></div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
const router = useRouter();
function returnHome() {
  router.push({
    name: "videoBox",
  });
}
</script>

<style scoped>
.box {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgb(248, 248, 248);
}

img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.return {
  width: 90px;
  height: 21px;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 64.5%;
}
</style>